﻿@model SampleSiteModule.Models.RelatedContentWidgetPart

<fieldset>
	<legend>Related Content</legend>
	<div class="editor-label">@T("Tags to find (comma separated)"):</div>
	<div class="editor-field">
		@Html.TextBoxFor( m => m.TagList )
		@Html.ValidationMessageFor( m => m.TagList )
	</div>

	<div class="editor-label">@T("Items must have all tags"):</div>
	<div class="editor-field">
		@Html.CheckBoxFor(m => m.MustHaveAllTags)
	</div>

	<div class="editor-label">@T("Exclude current content if matches?"):</div>
	<div class="editor-field">
		@Html.CheckBoxFor(m => m.ExcludeCurrentItemIfMatching)
	</div>
	
	<div class="editor-label">@T("Number of items to find"):</div>
	<div class="editor-field">
		@Html.TextBoxFor(m => m.MaxItems)
		@Html.ValidationMessageFor(m => m.MaxItems)
	</div>

	<div class="editor-label">@T("Show as list only? (Setting this will show just a basic list, otherwise the full summary view will be rendered for each item)"):</div>
	<div class="editor-field">
		@Html.CheckBoxFor(m => m.ShowListOnly)
	</div>

</fieldset>
